﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Web;
//using System.Web.Mvc;
//using TimeProject.Engine;

//namespace TimeProject.WebSite.Filters
//{
//    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
//    public class AuthorizeOperationAttribute : AuthorizeAttribute
//    {
//        /// <summary>
//        /// Initializes a new instance of the AuthorizeOperationAttribute class.
//        /// </summary>
//        /// <param name="operation">The operation.</param>
//        public AuthorizeOperationAttribute(TimeProjectOperations operation)
//        {
//            Operation = operation;
//        }

//        /// <summary>
//        /// The operation.
//        /// </summary>
//        public TimeProjectOperations Operation { set; get; }

//        protected override bool AuthorizeCore(HttpContextBase httpContext)
//        {
//            return base.AuthorizeCore(httpContext);
//        }
//    }

//}